{
	load_script('pinboard');
	load_mod('userinfo');

	var guangPageSegmentNum = 6;

	waterFall.init(function(){
		if(!scope.$lastSegment)
		{
			if(scope.$segment % guangPageSegmentNum != 0)
			{
				scope.$segment+=1;
				uid= typeof scope.$owner == 'undefined' ? scope.$visitor.uid : scope.$owner.uid;
				$.getJSON(
				'/riaapi/content/aj_getPicFeed.php?uid='+uid+'&page='+scope.$currentPage+'&segment='+scope.$segment,
				'',
				function(data){
					if(data.code == 'A00006')
					{
						if(data.data.lastSegment)
							scope.$lastSegment=true;
						waterFall.append(data.data.items);
					}
					
				});
			}
			else
			{
				//输出分页
			}
		}
	});
}